<?php
/*
// " - TEMPLATE NAME - " by TemplateWorks for Joomla! 1.5.x - Version 1.0
// Copyright (c) 2008 TemplateWorks, a Komrade Ltd. company. All rights reserved.
// Released under the GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
// More info at http://www.templateworks.net
// Designed by the TemplateWorks team
// Developed by the TemplateWorks team
// *** Last update: Monthe YEAR ***
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
// Change the generator meta tag
$this->setGenerator('NSC');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/template.css" type="text/css" />
</head>
<body class="offline">
<jdoc:include type="message" />
<div id="frame" class="outline">
  <h1><?php echo $mainframe->getCfg('sitename'); ?></h1>
  <h3><?php echo $mainframe->getCfg('offline_message'); ?></h3>
  
  <?php if(JPluginHelper::isEnabled('authentication', 'openid')) : ?>
  <?php JHTML::_('script', 'openid.js'); ?>
  <?php endif; ?>
  
  <form action="index.php" method="post" name="login" id="form-login">
  
		<fieldset class="input">
			<label for="username"><?php echo JText::_('Username'); ?></label>
			<input name="username" id="username" type="text" class="inputbox" alt="<?php echo JText::_('Username'); ?>" size="18" />
		</fieldset>
		<fieldset class="input">
			<label for="passwd"><?php echo JText::_('Password'); ?></label>
			<input type="password" name="passwd" class="inputbox" size="18" alt="<?php echo JText::_('Password'); ?>" id="passwd" />
		</fieldset>
		<fieldset>
			<input type="checkbox" name="remember" class="inputbox remember" value="yes" alt="<?php echo JText::_('Remember me'); ?>" id="remember" /> <label for="remember"><?php echo JText::_('Remember me'); ?></label>
		</fieldset>
		<fieldset>
			<input type="submit" name="Submit" class="button" value="<?php echo JText::_('LOGIN'); ?>" />
		</fieldset>
		
		<input type="hidden" name="option" value="com_user" />
		<input type="hidden" name="task" value="login" />
		<input type="hidden" name="return" value="<?php echo base64_encode(JURI::base()); ?>" />
		<?php echo JHTML::_( 'form.token' ); ?>
  </form>
</div>
</body>
</html>